package org.example.springcloud.dao;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 8/2/21 9:27 AM
 * @Version: 1.0
 */
public interface AccountDao {
    /**
     * 扣减账户余额
     */
    void decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);
}